package org.jeecg.modules.publish.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("third_content_link")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="third_content_link对象", description="微信内容关联")
public class ThirdContentLink {

	private String id;
   	private String contentId;
   	private String weixinKey;
   	private String weixinSecret;
   	private int type; //1 微信 2微博
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date date;

	private  String accountId;

	private  Integer readNum;
	private  Integer loveNum;
	private  Integer reportNum;


	@TableField(exist = false)
	private  Integer artcileCount;


}
